WPTelegram\Core\includes\Utils B

Total Complexity 91
Dependencies 6
Dependents 9
Total lines 776
Lines of code 305
Logical lines of code 190
Comment lines 315
Methods 23
Properties 0

Methods 23

Method Rating Maintainability Complexity Lines of code
get_attachment_by_filesize()
B
43 19 46
prepare_content()
A
45 8 40
guess_file_type()
S
52 7 24
sanitize()
S
57 7 16
filter_rest_errors()
S
53 6 21
sanitize_message_template()
S
56 5 18
smart_trim_excerpt()
S
53 4 20
get_jed_locale_data()
S
57 4 16
enhance_regex()
S
62 4 12
is_post_edit_page()
S
62 4 11
typefy()
S
66 4 8
sanitize_hashtag()
S
62 3 11
valid_parse_mode()
S
79 2 3
split_content()
S
62 2 10
array_to_select_options()
S
68 2 7
get_image_size_limit()
S
79 2 3
get_max_text_length()
S
70 2 5
get_html_converter()
S
59 1 14
nonce_field()
S
78 1 3
decode_html()
S
78 1 3
nonce()
S
80 1 3
strip_non_word_chars()
S
67 1 7
send_files_by_url()
S
74 1 4